\hypertarget{commK_8c}{
\section{atmega1281/mid/comm\_\-up/commK.c File Reference}
\label{commK_8c}\index{atmega1281/mid/comm\_\-up/commK.c@{atmega1281/mid/comm\_\-up/commK.c}}
}
{\ttfamily \#include \char`\"{}commK.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}uart.h\char`\"{}}\par
{\ttfamily \#include $<$avr/io.h$>$}\par
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__nxbot__commK_ga2cd6d5b2d41e59393ca658d6494469fd}{comm\_\-init} (unsigned int baudrate, unsigned char format, unsigned char usart)
\begin{DoxyCompactList}\small\item\em Initialization of communiication hardware. \item\end{DoxyCompactList}\item 
uint8\_\-t \hyperlink{group__nxbot__commK_ga7107d874f14ed410bec1e5ed5ba70046}{comm\_\-transmit} (\hyperlink{structstream}{stream} $\ast$txStream, uint8\_\-t usart)
\begin{DoxyCompactList}\small\item\em Transmit a \hyperlink{structstream}{stream} via the selected uart. \item\end{DoxyCompactList}\item 
uint8\_\-t \hyperlink{group__nxbot__commK_gac45e24bbf01332b2f75b3635aec2eb62}{comm\_\-receive} (\hyperlink{structstream}{stream} $\ast$rxStream, uint8\_\-t usart)
\begin{DoxyCompactList}\small\item\em Receive a \hyperlink{structstream}{stream} via the selected uart. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
